package pers.mihao.quickstream.common.oss.impl;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;
import pers.mihao.quickstream.common.oss.OssService;
import pers.mihao.quickstream.common.oss.model.UploadFileReq;

import java.io.FileOutputStream;

/**
 * @author mihao
 * @since 2024/11/25
 */
@Component
public class LocalOssService implements OssService {

    @Value("${oss.local.root.path:D://quickfile}")
    private String rootPath;

    @Override
    public String uploadFile(UploadFileReq uploadFileReq) {
        return null;
    }

    @Override
    public byte[] readFile(String url) {
        return new byte[0];
    }

    @Override
    public byte[] readFileByBiz(String bizId, String bizType, String appName) {
        return new byte[0];
    }

    @Override
    public FileOutputStream readFileWithStream(String url) {
        return null;
    }
}
